package com.celeritymq.server.buffer.impl;

import java.nio.ByteBuffer;
import java.nio.channels.ClosedChannelException;
import java.nio.channels.SelectableChannel;

public abstract class Buffer {
	private ByteBuffer byteBuffer;
	private int defaultSize=2048;
	SelectableChannel sc;
	protected Buffer(){
		byteBuffer=ByteBuffer.allocate(defaultSize);
	}
	protected Buffer(int initSize){
		byteBuffer=ByteBuffer.allocate(initSize);
	}
	
	
	
}
